package com.ruoyi.device.mapper;

import com.ruoyi.device.domain.SysDeviceType;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface SysDeviceTypeMapper {
    /**
     * 根据条件分页查询角色数据
     *
     * @param deviceType 角色信息
     * @return 角色数据集合信息
     */
    List<SysDeviceType> selectDeviceTypeList(SysDeviceType deviceType);

    SysDeviceType selectDeviceTypeById(Long typeId);

    int insertDeviceType(SysDeviceType deviceType);

    int updateDeviceType(SysDeviceType deviceType);

    int deleteDeviceTypeByIds(Long[] typeIds);
}
